﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gameserver.DAO
{
    public class User_DAO
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public int user_id;
        /// <summary>
        /// 用户名
        /// </summary>
        public string username;
        /// <summary>
        /// 密码
        /// </summary>
        public string password;
        /// <summary>
        /// 角色ID
        /// </summary>
        public int Role_id;
        public User_DAO(int user_id, string username, string password,int rid=-1)
        {
            this.user_id = user_id;
            this.username = username;
            this.password = password;
            Role_id = rid;
        }
    }
}
